package com.glasses.business.entity;

import java.util.List;

/**
 * Author：邓勇军
 * English Name：Deng,The Sky Fucker!
 * Email：dandycoder@126.com
 * Date：2017/3/29
 * Version：1.0
 */
public class OrderDetail {

    /**
     * orderNO : G1490775518807
     * time : 2017-03-29  16:18:38
     * fianlPrice : 431
     * transNO : 13245654
     * receiver : {"receiver":"滚滚滚号","address":"北京北京市东城区","phone":"13689022142"}
     * productList : [{"picture":"http://starspace.image.alimmdn.com/app/2017/01/MeelLeoSave/9.jpg","id":5,"price":251,"name":"眼镜架5","notes":"黑色"},{"picture":"http://starspace.image.alimmdn.com/app/2017/01/MeelLeoSave/9.jpg","id":7,"price":210,"name":"眼镜片2","notes":""}]
     * checkMenu : {"type":1,"content":"{\"imgPath\":\"http://www.bsstar.net/blog/upload/glass/glass_bindygd1.jpg\"}","id":48}
     * totalPrice : 461
     */
    private int id;
    private int status;
    private String orderNO;
    private String time;
    private double fianlPrice;
    private String transNO;
    private ReceiverBean receiver;
    private CheckMenuBean checkMenu;
    private double totalPrice;
    private List<OrderList.ProductsBean> productList;
    private long canApplyRefendTime;

    public long getCanApplyRefendTime() {
        return canApplyRefendTime;
    }

    public void setCanApplyRefendTime(long canApplyRefendTime) {
        this.canApplyRefendTime = canApplyRefendTime;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getOrderNO() {
        return orderNO;
    }

    public void setOrderNO(String orderNO) {
        this.orderNO = orderNO;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public double getFianlPrice() {
        return fianlPrice;
    }

    public void setFianlPrice(double fianlPrice) {
        this.fianlPrice = fianlPrice;
    }

    public String getTransNO() {
        return transNO;
    }

    public void setTransNO(String transNO) {
        this.transNO = transNO;
    }

    public ReceiverBean getReceiver() {
        return receiver;
    }

    public void setReceiver(ReceiverBean receiver) {
        this.receiver = receiver;
    }

    public CheckMenuBean getCheckMenu() {
        return checkMenu;
    }

    public void setCheckMenu(CheckMenuBean checkMenu) {
        this.checkMenu = checkMenu;
    }

    public double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(double totalPrice) {
        this.totalPrice = totalPrice;
    }

    public List<OrderList.ProductsBean> getProductList() {
        return productList;
    }

    public void setProductList(List<OrderList.ProductsBean> productList) {
        this.productList = productList;
    }

    public static class ReceiverBean {
        /**
         * receiver : 滚滚滚号
         * address : 北京北京市东城区
         * phone : 13689022142
         */

        private String receiver;
        private String address;
        private String phone;

        public String getReceiver() {
            return receiver;
        }

        public void setReceiver(String receiver) {
            this.receiver = receiver;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }
    }

    public static class CheckMenuBean {
        /**
         * type : 1
         * content : {"imgPath":"http://www.bsstar.net/blog/upload/glass/glass_bindygd1.jpg"}
         * id : 48
         */

        private int type;
        private String content;
        private int id;

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }
}
